//
//  PORegexTool.h
//  PO_Chat
//
//  Created by -- on 2020/1/14.
//  Copyright © 2020 舒杨. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface PORegexTool : NSObject

+ (BOOL)checkInputOnlyNumber : (NSString *) string;

#pragma 检测第一个输入的字符是否是小数点
+ (BOOL)checkInputFristPoint : (NSString *) string;

#pragma 控制只输入.和数字
+ (BOOL)checkInputOnlyPointNumber : (NSString *) string;

#pragma 检测小数点后面是否满2位
+ (BOOL)checkAfterPointLenth: (NSString *) string;

@end

NS_ASSUME_NONNULL_END
